package com.weyoung.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.weyoung.admin.dto.req.UserDetailAddDTO;
import com.weyoung.admin.dto.req.UserSetRoleDTO;
import com.weyoung.common.model.entity.UserDetailDO;

/**
* @author 86182
* @description 针对表【user_detail(用户详细信息表)】的数据库操作Service
* @createDate 2025-04-14 11:44:53
*/
public interface UserDetailService extends IService<UserDetailDO> {

    /**
     * 用户详细新增与修改  不存在就是新增，存在就是修改
     * @param requestParam
     */
    void add(UserDetailAddDTO requestParam);

    void add1(UserDetailAddDTO requestParam);


    void update(UserDetailAddDTO requestParam);

    void delete(Integer id);


    boolean updateUserRoleById(UserSetRoleDTO requestParam);
}
